<body>
<div class="path fn-clear"><span class="fb">首页</span><a href="{url('themes/indextpl')}">模版管理</a>	
{loop $path $key $vo}
<?php
	if($key){
		$pathdir = $pathdir.'/'.$vo;
	}else{
		$pathdir = $vo;
	}
?>
	<a href="{url('themes/indextpl',array(dir=>$pathdir))}">{$vo}</a>
{/loop}
</div>

<div class="m5">
<table class="table table-bordered table-striped" width="100%">
<thead><tr><th class="fn-tac w60">属性</th><th class="fn-tal">名称</th></tr></thead>
<tbody>
{loop $tpldir $vo}
<tr>
    <td class="fn-tac">目录</td>
    <td class="fn-tal"><i class="icon fn-f16" title="文件夹">&#xf0e0;</i> <a title="文件夹" href="{url('themes/indextpl',array(dir=>$dirpath.$vo))}" class="fb f14">{$vo}</a>
</td>
</tr>
{/loop}
{loop $tpllist $vo}
<tr>
    <td class="fn-tac">文件</td>
    <td class="fn-tal"><i class="icon fn-f16" title="文件">&#xf016;</i> <a title="编辑" href="{url('themes/edittpl',array(dir=>$dirpath.$vo,files=>$vo))}">{$vo}</a></td>
</tr>
{/loop}
</tbody>
</table>
</div>
</body>